# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE    := native_engine
LOCAL_SRC_FILES := \
                   Entrance.cpp \
                   draw/base/Draw_Base.cpp \
                   draw/egl/EGL_Base.cpp \
                   draw/gles2/GLES2_Base.cpp \
                   draw/gles1/GLES1_Base.cpp \
                   object/base/Object_Base.cpp \
                   data/base/Data_Base.cpp \
                   data/manage/Data_Manage.cpp \
                   data/manage/TwoD_Manage.cpp \
                   data/twod/TwoD_TexCan.cpp \
                   data/twod/TwoD_TexBean.cpp \
                   util/static/Static_APP.cpp \
                   util/asset/Asset_Adapter.cpp \
                   util/ds/Can_Array.cpp \
                   
LOCAL_LDLIBS    := -lm -llog -landroid -lEGL -lGLESv2 -lGLESv1_CM
LOCAL_STATIC_LIBRARIES := android_native_app_glue

include $(BUILD_SHARED_LIBRARY)

$(call import-module,android/native_app_glue)
